package mo.golden;

public class L05_06 {

    public int convertInteger(int A, int B) {
        int or = A ^ B;
        int res = 0;
        int i = 32;
        while (i > 0) {
            if ((or & 1) == 1) {
                res++;
            }
            or = or >> 1;
            i--;
        }
        return res;
    }

    public static void main(String[] args) {
        L05_06 test = new L05_06();
        System.out.println(test.convertInteger(826966453 ,-729934991));
    }

}
